find vertices of ellipse